<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../lib/vue-2.6.12.js"></script>

</head>
<body>
    <div id="app">
        <textarea v-emoji></textarea>
    </div>

    <script>
        import emoji from '@/utils/emoji_filter.js'
        var vm = new Vue({
            el: '#app',
            data:{},
            methods:{},
            directives: {
                "emoji": {
                    bind(el,binding){
                        console.log(">>>> bind")
                    },
                    unbind(el){
                        console.log(">>>> unbind")
                    },
                },
               "emoji2": emoji
            },
        })
    </script>
</body>
</html>